using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class web_pages_KIOS_MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.Params["page"] != null)
        {
            switch (Request.Params["page"])
            {
                case "ntv":
                    ContentPlaceHolder1.Controls.Add(new UserControl().LoadControl("~/web/Controls/ctrl_KIOS_ntv.ascx"));
                    break;
                case "td":
                    ContentPlaceHolder1.Controls.Add(new UserControl().LoadControl("~/web/Controls/ctrl_KIOS_td.ascx"));
                    break;
                case "kh":
                    ContentPlaceHolder1.Controls.Add(new UserControl().LoadControl("~/web/Controls/ctrl_KIOS_kh.ascx"));
                    break;
            }
        }
    }
}
